From: Emmanuele Bassi Date: Sun, 19 Dec 2021 16:06:49 +0000 (+0000) Subject: build: Check for the gi python module X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~30^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c94996e8e876c206c4193160e51c74bdc37764cf;p=gtk4.git build: Check for the gi python module The introspection tests depend on the pygobject module, but we currently are not checking if it's available at configuration time, which means we can get build failures like: > ModuleNotFoundError: No module named 'gi' when running the test suite. --- diff --git a/testsuite/introspection/meson.build b/testsuite/introspection/meson.build index 6202fb7446..647150055c 100644 --- a/testsuite/introspection/meson.build +++ b/testsuite/introspection/meson.build @@ -1,3 +1,4 @@ +py = import('python').find_installation('python3', modules: ['gi']) test('api', find_program('api.py', dirs: meson.current_source_dir()),